{% extends "base_artist.html" %}

{% block title %}Artist :: View{% endblock %}

{% block body %}
<div id="apphead">
	<h2>Artist :: <em>View</em></h2>
</div>

<div id="projecthome" class="app">

	<div id="axial" class="h3">
		<h3>Info</h3>
		<div class="axial">
			<table cellpadding="3" cellspacing="2" border="0">
				<tr>
					<th>UUID</th>
					<td>{{ artist.uuid }}</td>
				</tr>
				<tr>
					<th>Name</th>
					<td>{{ artist.name }}</td>
				</tr>
				<tr>
					<th>Created</th>
					<td>{{ artist.created|date:"Y-m-d H:i" }}</td>
				</tr>
			</table>
		</div>
	</div>

	<br/>

	<div id="axial" class="h3">
		<h3>Recordings</h3>

	<table border="1" cellspacing="2" cellpadding="3" width="100%">
		<tr>
			<th>Title</th>
			<th>Created</th>
			<th>UUID</th>			
			<th>Actions</th>
		</tr>
		{% for recording in recordings %}
			<tr class=" a">
				<td><a href="/recording/view?uuid={{ recording.uuid }}">{{ recording.title }}</a></td>
				<td>{{ recording.created|date:"Y-m-d H:i" }}</td>
				<td>{{ recording.uuid }}</td>
				<td>
					<a href="/recording/export?uuid={{ recording.uuid }}">export</a>
				</td>				
			</tr>
		{% endfor %}
	</table>


	</div>

</div>
{% endblock %}								


